package com.fruits.domain;

public class Cart {
    // 用户id
    private int uid;
    // 水果id
    private int fid;
    //是否关注
    private boolean isStar;
    // 是否加入购物车
    private  boolean isCart;

    public Cart() {
    }
    public Cart(int uid, int fid, boolean isStar, boolean isCart) {
        this.uid = uid;
        this.fid = fid;
        this.isStar = isStar;
        this.isCart = isCart;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public boolean isStar() {
        return isStar;
    }

    public void setIsStar(boolean star) {
        isStar = star;
    }

    public boolean isCart() {
        return isCart;
    }

    public void setIsCart(boolean cart) {
        isCart = cart;
    }
}
